package com.mercury.game.service;

import com.mercury.game.entity.Tree;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 童雅婷
 * @since 2021-11-23
 */
public interface TreeService extends IService<Tree> {

    boolean createTree(Tree tree);

    Tree updateWater(String id, String type);

    Tree useWater(int id);

    int setUserBeans(int id);

}
